package com.xqls.service;

import java.util.List;
import java.util.Map;

import com.xqls.dal.model.RolePermissionKey;

public interface RolePermissionKeyService {

    boolean deleteById(String roleId);

    boolean insertByList(List<RolePermissionKey> list);
    
    boolean updateRecord(RolePermissionKey rolePermissionKey,String oldPermId);
    
    boolean deleteRecord(RolePermissionKey key);
    
    boolean deleteByList(List<RolePermissionKey> list);
    
    boolean deleteByMap(Map<String, Object> map);
    
    RolePermissionKey getLastRecord();
    
    List<RolePermissionKey> getListByKey(List<String> roleIdList,List<String> permIdList);
    
    List<RolePermissionKey> getList();
    
    List<Map<String, Object>> getListByRoleId(String roleId);
    
    List<Map<String,Object>> getListByMap(Map<String,Object> map);
    
    List<Map<String,Object>> getMenuByMap(Map<String,Object> map);
}
